﻿<!--addnew/edit form-->
<form name="formEditor" onsubmit="return save()">
<TABLE class="formgrid" cellSpacing=0 cellPadding=0 width="100%" border=0>
<!-- 页面内容标签：如“新增记录”、“修改记录” -->
<tr>
<td>
<div id=tabs>
    <ul>
        <li onclick="changeLiStyle(this);" id="tabsl">
            <a  
                onmouseover="javascript:window.status='';return true;" 
                onmouseout="javascript:window.status='';return true;" 
                href='#' 
                onclick='JavaScript:return false;'>
                <span id="formTitleEditor">发送邮件</span>
            </a>
        </li>
    </ul>
    <div id='hline'></div>
</div>
</tr>
</td>
</table>

<FIELDSET><LEGEND>邮件信息</LEGEND>
<TABLE class="table_comm" cellSpacing=0 cellPadding=0 width="100%" border=0>
	
	<tr>
        <td NOWRAP class="th20 required">
            收件人（多人中间用英文逗号隔开）
        </td>
        <td class="td20left">
			<input type="text" name="mail_to" id="mail_to" size="40" maxlength="100">
        </td>
	</tr>
	<tr>
        <td NOWRAP class="th20">
            抄送（多人中间用英文逗号隔开）
        </td>
        <td class="td20left">
			<input type="text" name="mail_cc" id="mail_cc" size="40" maxlength="100">
        </td>
	</tr>
	<tr>
        <td NOWRAP class="th20 required">
            主题
        </td>
        <td class="td20left">
			<input type="text" name="subject" id="subject" size="40" maxlength="100">
        </td>
	</tr>
	<tr>
        <td NOWRAP class="th20">
            内容
        </td>
        <td class="td20left">
			<textarea type="text" name="body" id="body" cols="40" rows="3">
			</textarea>
        </td>
	</tr>
	<tr>
        <td NOWRAP class="th20">
            选择附件
        </td>
        <td class="td20left">
			<srows>
				<input name="file_name" id="file_name" type="checkbox" value="${fld:file_all}">${fld:file_name}<br/>
			</srows>
        </td>
	</tr>

</TABLE>
</FIELDSET>

<FIELDSET><LEGEND>操作信息</LEGEND>
<TABLE class="formgrid" cellSpacing=0 cellPadding=0 width="100%" border=0>
        <col width="80%">
        <col width="20%">
        <!--buttons-->
        <tr>
            <td align="center" colspan=1>
                <input id="submitBtn" type="submit" class="cmd" value="发送" >
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input id="deleteCommand" type="button" class="cmd" style="display:none" value="删除"  onclick="deleteRecord(tuid.value)">
            </td>
            <td class="th20 required" colspan=3>
                特别标注为必填信息.
            </td>
        </tr>
    
</table>
</FIELDSET>

    <!--tuid是否为空,决定了form的保存方法为编辑保存,还是新增保存-->
    <input type="hidden" id="tuid" name="tuid" default="0" value="">

</form>
